home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / digests / tcp / 940110.txt < prev    next >
Internet Message Format  |  1994-11-13  |  10KB

  1. Date: Sun,  5 Jun 94 04:30:02 PDT
  2. From: Advanced Amateur Radio Networking Group <tcp-group@ucsd.edu>
  3. Errors-To: TCP-Group-Errors@UCSD.Edu
  4. Reply-To: TCP-Group@UCSD.Edu
  5. Precedence: Bulk
  6. Subject: TCP-Group Digest V94 #110
  7. To: tcp-group-digest
  8.  
  9.  
  10. TCP-Group Digest            Sun,  5 Jun 94       Volume 94 : Issue  110
  11.  
  12. Today's Topics:
  13.                      Announce: JNOS/Linux ALPHA.4
  14.                          problem with wampes
  15.  
  16. Send Replies or notes for publication to: <TCP-Group@UCSD.Edu>.
  17. Subscription requests to <TCP-Group-REQUEST@UCSD.Edu>.
  18. Problems you can't solve otherwise to brian@ucsd.edu.
  19.  
  20. Archives of past issues of the TCP-Group Digest are available
  21. (by FTP only) from UCSD.Edu in directory "mailarchives".
  22.  
  23. We trust that readers are intelligent enough to realize that all text
  24. herein consists of personal comments and does not represent the official
  25. policies or positions of any party.  Your mileage may vary.  So there.
  26. ----------------------------------------------------------------------
  27.  
  28. Date: Sat, 04 Jun 1994 20:04:45 -0400
  29. From: "Brandon S. Allbery" <bsa@kf8nh.wariat.org>
  30. Subject: Announce: JNOS/Linux ALPHA.4
  31. To: nos-bbs@hydra.carleton.ca
  32.  
  33. By the time you receive this, the ALPHA.4 release of JNOS/Linux should be in 
  34. the incoming directory at ucsd.edu.  The complete path name is
  35.  
  36.     ucsd.edu:/hamradio/packet/tcpip/incoming/j109lxA4.tgz
  37.  
  38. This, like ALPHA.3, is a full source release; however, the DOS-specific files 
  39. have been omitted from this release.
  40.  
  41. A summary of the changes since ALPHA.3 follows my .signature.
  42.  
  43. ++Brandon
  44. --
  45. Brandon S. Allbery       kf8nh@kf8nh.ampr.org         bsa@kf8nh.wariat.org
  46. The FUDs at Microsoft are shouting "Kill The Wabi!"
  47.  
  48. Bugfixes and changes since ALPHA.3:
  49.  
  50. * "ls"/"dir" of nonexistent file/directory no longer kills NOS
  51.  
  52.   I was using a findlast() function to close the directory opened by the
  53.   findfirst()/findnext() clone, but they already close the directory on
  54.   EOF or failure.  There may now be file descriptor leaks if findfirst()/
  55.   findnext() is not run in a loop until -1 is returned, but the code to cope
  56.   with this already exists:  a flag is now set to make sure the directory
  57.   isn't closed twice.
  58.  
  59. * Telnet now works right with *ix clients
  60.  
  61.   I adapted the 1.10 patches for 1.09.  The same caveats apply as with 1.10.
  62.  
  63. * Partial support for FTP "SYST" command
  64.  
  65.   All that is currently done by the client is to print the system type as a
  66.   reminder to the user.  I will implement *ix-like automatic file type setting
  67.   later.
  68.  
  69.   The server responds to "SYST" with a 215-level response similar to that in
  70.   1.10c.
  71.  
  72. * New asy driver
  73.  
  74.   The loss of large packets is now cured:  EAGAIN/EWOULDBLOCK wasn't being
  75.   trapped on writes.  Also, the driver parameters can now be configured at
  76.   runtime so that one can balance between the ALPHA.1 behavior, which tended
  77.   to "hog" the process servicing busy asy ports, and the ALPHA.2 behavior
  78.   which preferred the other tasks but could drop incoming packets on a very
  79.   heavily loaded frequency.
  80.  
  81.   The "asy" command now honors the buffer length.  Previously, a fixed-size
  82.   64-byte buffer was used (traditional *ix clist size).  It can be changed
  83.   dynamically with the "asyconfig" command.  Smaller buffers improve the
  84.   response of other NOS tasks but eat more CPU time; larger buffers will
  85.   better keep up with busy channels but will "starve" other NOS tasks (you
  86.   can use "rxqueue" below to avoid this, however).  A good setting is a
  87.   little larger than your "paclen" (or the MTU on a SLIP/PPP link).
  88.  
  89.   The input and output tasks now support a simple form of inter-task flow
  90.   control, using the "rxqueue" and "txqueue" parameters:  after "rxqueue"
  91.   packets are put in the network "hopper" by the asy receive task, it blocks;
  92.   after "txqueue" packets are transmitted by the asy transmit task or if
  93.   EAGAIN/EWOULDBLOCK is returned on a write, it blocks.  The default is the
  94.   ALPHA.3 behavior, which is an rxqueue/txqueue of 1.  For the "hoggy" style
  95.   used by ALPHA.1, set rxqueue and txqueue very large.  I have both set to
  96.   5 on my asy links and to 2 on my SLIP-to-Linux link, and it seems to be a
  97.   fairly good compromise.
  98.  
  99.   The "asystat" command now shows some useful statistics that may be of help
  100.   in tuning these:
  101.  
  102. net> asystat
  103. 144.99: 9600 bps, packet size 255, RTS/CTS disabled, carrier disabled
  104.   RX: ints 2 chars 73 puts 2 buf 1024 rxqueue 5 qlen 0 ovq 0 block 0
  105.   TX: ints 1 gets 0 chars 57 txqueue 2 qlen 0 ovq 0 block 0
  106. linux: 38400 bps, non-blocking, RTS/CTS disabled, carrier disabled
  107.   RX: ints 0 chars 0 puts 0 buf 1024 rxqueue 2 qlen 0 ovq 0 block 0
  108.   TX: ints 0 gets 0 chars 0 txqueue 2 qlen 0 ovq 0 block 0
  109.  
  110.   "ints" is the number of times pwait() returned control to the task,
  111.   indicating that select() detected pending data on input or a packet became
  112.   available for output.  "chars" is the number of characters read/written.
  113.   "buf" is the current receive buffer size, as specified in the attach
  114.   statement or the "asyconfig" command.  "rxqueue"/"txqueue" is as described
  115.   above.  qlen is the instantaneous queue size (number of packets).  ovq is
  116.   the number of times queue flow control (described above) was triggered.
  117.   "block" is the number of times read/write tried to block (in the case of
  118.   reads, the number of times it tried to block after data was claimed to be
  119.   available).
  120.  
  121.   The "asyconfig" command can be used to examine or set the new asy
  122.   configuration parameters:
  123.  
  124.     asyconfig <iface> <parameter> [<value>]
  125.  
  126.   <iface> is any asy interface.  <parameter> is one of:
  127.  
  128.     bufsize        receive buffer size
  129.     rxqueue        receive flow-control threshold
  130.     txqueue        transmit flow-control threshold
  131.  
  132.   Any of these can be changed at any time.
  133.  
  134.   RTS/CTS flow control is now supported, but untested; I don't have anything
  135.   conveniently available which supports it to test it.  As with the DOS
  136.   version, it is controlled with
  137.  
  138.     param <iface> RTS <0|1>
  139.  
  140.   The default is 1, for compatibility with previous Linux releases.  The DOS
  141.   DTR parameter will *not* be supported, because the Linux serial driver has
  142.   effectively complete control over DTR.
  143.  
  144.   In addition, a new input mechanism has been provided, using the "f trigger"
  145.   parameter used by the DOS version for 16550A FIFO control (that function
  146.   is handled by the Linux kernel; get the "setserial" package if you need to
  147.   tune the FIFO trigger level).  The value can range from 0 to 255; if it is
  148.   0, the original input mechanism is used, otherwise blocking reads are used
  149.   with termios VMIN set to the specified value.  At the moment there is no
  150.   error checking; if you set the buffer size smaller than VMIN you could lose
  151.   incoming data.  Under some *ixes setting it to anything other than a
  152.   multiple of VMIN could cause problems.  (I know that under Ultrix, you would
  153.   need to set bufsize equal to VMIN --- but I don't think JNOS has been ported
  154.   to Ultrix yet :-)  The tradeoff here is that, on a mostly quiet channel,
  155.   input could be delayed by up to 1/5 second, but on an active channel JNOS
  156.   will use *much* less CPU time and generally will be much more efficient.
  157.  
  158.   Summary of the current "attach" command:
  159.  
  160. attach asy ttySX - <slip|ax25|ppp> <iface> <bufsize> <mtu> <speed> [<flags>]
  161.  
  162.   The argument after the device ttySX should be zero or a hyphen (-).  It may
  163.   be used in future versions.
  164.  
  165.   The device should be a ttySX, not a cuaX.  cuaX can cause problems for
  166.   reasons I don't fully understand at present.
  167.  
  168.   <bufsize> is the read buffer size described above.
  169.  
  170.   The only <flag>s supported are "v" for Van Jacobsen SLIP compression and
  171.   "f triglevel" to use the VMIN read mechanism.
  172.  
  173. * The Command flow-control throttle from incoming mail has been fixed
  174.  
  175.   All previous fixes tried to avoid the use of an asynchronous I/O mechanism,
  176.   since it complicates the "curses" session manager.  Unfortunately, there
  177.   *is* no proper fix that doesn't involve asynchronous I/O, since the messages
  178.   are inherently asynchronous.  There is now an asynchronous output entry
  179.   point in the session manager, which is used for these messages.
  180.  
  181. * The FTP client "lcd" command no longer fails
  182.  
  183.   dir_ok() wasn't setting up variables properly.  Sometimes this resulted in
  184.   a "harmless" failure; other times NOS dropped core.
  185.  
  186. * JNOS will read the config file ".nosrc" if no -f option is specified
  187.  
  188.   This is primarily to support default session managers (see below), but
  189.   may also be used for color information in the future.  You may also want
  190.   to copy compat.cfg to .nosrc if you still don't want to rearrange your files
  191.   from ALPHA.2.
  192.  
  193. * You can specify the default Command and Trace session managers in the config
  194.   file (either .nosrc or the one read with the -f option).
  195.  
  196.     Command = sessmgr[:options]
  197.     Trace = sessmgr[:options]
  198.  
  199. Additionally, a number of "dead ends" were pursued but are no longer in the
  200. source.  These include color support (the color commands were asynchronous to
  201. the output, resulting in scrambled colors) and a trace server (a positive
  202. feedback loop results if someone tries to trace the interface they're on, and
  203. there's no way to prevent it).  The abortive color support did lead the way to
  204. the answer to the Command flow-control problem, however (if you've been paying
  205. attention, you'll note that it's the same problem in reverse).  Another
  206. reason color was dropped is that ncurses presently ignores background colors.
  207.  
  208. ------------------------------
  209.  
  210. Date: Sat, 4 Jun 1994 13:10:50 +0100 (MET DST)
  211. From: pe1ayx@pe1ayx.knoware.nl (Hans Alblas)
  212. Subject: problem with wampes
  213. To: tcp-group@UCSD.EDU
  214.  
  215. I have a problem with the wampes software
  216.  
  217. When wampes recieves fragmented upd frames with ip-ip encapse
  218. headers then wampes will hangup for some time.
  219. While recieving the first udp frame fragment goes wampes in a waitstate
  220. (the first recieved fragmanted udp frame piece is not shown in
  221.  the trace at this moment)
  222. after some time (when all fragmentation pieces are together) will
  223. the system run's again normal but on our slowly radio net will it
  224. take some time befor wampes is out of his hangup situation.
  225. How can i resolve this problem?
  226. In this situation is it impossible to get een zone domain transfer
  227. from a domain server via a wampes gate even via fast Internet!
  228.  
  229. Groetjes de Hans
  230.  
  231.  
  232. -- 
  233. Hans Alblas           Email:  pe1ayx@pe1ayx.knoware.nl
  234. Egstraat 34           Packet: pe1ayx@pi8hrl.ampr.org
  235. 6418JA Heerlen        IP: [44.137.4.10] (AmPR-Net)
  236.  
  237. ------------------------------
  238.  
  239. End of TCP-Group Digest V94 #110
  240. ******************************
  241.